package com.Logistics.entity.truck;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 驾驶证Bean
 */
@Data
@ToString
@TableName("pd_truck_driver_license")
public class Truck_driver_licenseBean implements Serializable {
    private static final long serialVersionUID = 3220092266806680489L;
    @TableField("id")
    private String license_id;//驾驶证编号
    @TableField("user_id")
    private String license_user_id;//用户id
    private String allowable_type;//准驾车型
    @JsonFormat(pattern = "yyyy-MM-dd HH", timezone = "GMT+8")
    private Date initial_certificate_date;//初领日期
    private String valid_period;//有效期
    private Integer driver_age;//驾龄
    private String license_type;//驾驶证类型
    private String qualification_certificate;//资格证
    private String pass_certificate;//入场资格信息
    @TableField("picture")
    private String license_picture;//驾驶证照片
}
